import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import Items from './views/Items.vue'
import Cart from './views/Cart.vue'
import User from './views/User.vue'
Vue.use(Router)
export default new Router({
  routes: [{
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/items',
    name: 'Items',
    component: Items
  },
  {
    path: '/cart',
    name: 'Cart',
    component: Cart
  },
  {
    path: '/user',
    name: 'User',
    component: User
  }
  ]
})
